<!DOCTYPE HTML>
<script src="../resources/text-based-repaint.js"></script>
<script>
    function repaintTest()
    {
        // Adding outline will cause a repaint but no layout.
        document.getElementById("test").style['outline'] = 'solid black 10px';
    }
    window.onload = runRepaintAndPixelTest;
</script>
<style>
    body {
        margin: 0;
    }
</style>
<div id="test" style="background-color: green; width: 100px; height: 100px;"></div>
<!-- Tests the repainting of outline when added. -->
